package com.diaosidadui.demo;

import java.util.Random;

public class Demo06 {
    public static void main(String[] args) {
        Random r = new Random();
        String s = "";
        for (int i = 0; i <6 ; i++) {
            int num =r.nextInt(10);
            s+=num;
        }
        System.out.println(s);

//100000~999999

        for (int i=0;i<100;i++) {
            int num = r.nextInt(900000) + 100000;
            System.out.println(num);
        }

    }
}
